Part Number Hot Search : 
HA12187 1008HQ C740004 GLZ15B EMK12 UPC1270H AS1150 AK5357KT
Product Description
Full Text Search
 

To Download MS87V1021 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  peds87v1021-01 1 semiconductor this version: sept. 2000 MS87V1021 recording and playback ic with built-in 2-mbit dram 1/63 general description the MS87V1021 is a single chip recording and playback ic that is controlled by the microcontroller in serial mode, compresses voice with the 4-bit oki adpcm algorithm or 4-bit oki adpcm2 algorithm with high tone quality, and has 2-mbit dram in which recorded data is stored and 512-kbit mask rom in which fixed messages reside. the MS87V1021 includes such features as normal recording and playback, delayed playback, retroactive playback, fast forwarding, and rewinding. the internal memory in which voice data is stored allows a recording/playback system to be constructed merely by externally connecting it to a microphone, a speaker driving amplifier, and a speaker. features ? serial microcontroller interface (clock synchronized) ? built-in 512-kbit mask rom for fixed messages rom playback time : approx. 15 seconds (fsam = 8.0 khz) approx. 20 seconds (fsam = 6.4 khz) approx. 30 seconds (fsam = 4.0 khz) ? voice analyzing and synthesizing system : 4-bit oki adpcm or 4-bit oki adpcm2 algorithm 8-bit oki non-linear pcm algorithm (for rom playback only) ? sampling frequency (source oscillation frequency: 4.096 mhz) : 4.0 khz, 5.3 khz, 6.4 khz, 8.0 khz, or 10.6 khz ? recording time: approx. 60 seconds (fsam = 8.0 khz) approx. 80 seconds (fsam = 6.4 khz) approx. 120 seconds (fsam = 4.0 khz) ? built-in 14-bit a-to-d and d-to-a converters ? built-in lpf: attenuation rate ?40 db/oct ? number of phrases variable message: 255 phrases fixed phrases: 255 phrases ? source oscillation frequency: 4.096 mhz ? supply voltage: 2.7 to 3.6 v ? operating current: 15 ma max. (source oscillation frequency : 4.096 mhz, supply voltage : 3.6 v) ? operating temperature: ?20 to +70 c ? package: 32-pin tsop type i
peds87v1021-01 1 semiconductor MS87V1021 2/63 contents general description ............................................................................................................ .....................1 features ....................................................................................................................... ...................................1 block diagram .................................................................................................................. ...........................4 pin configuration (top view)................................................................................................... .............4 pin description ................................................................................................................ .............................5 application circuit example.................................................................................................... ............6 absolute maximum ratings ....................................................................................................... ...........7 recommended operating conditions............................................................................................... 7 electrical characteristics ..................................................................................................... ............7 dc characteristics. .......................................................................................................... ...................................7 ac characteristics ........................................................................................................... ...................................8 1. microcontroller interface mode......................................................................................... ...........................8 2. busy time when a command is executed .................................................................................. ................8 3. status flag time when a command is executed............................................................................ ...............10 analog characteristics... .................................................................................................... ...............................11 analog input amplifier circuit............................................................................................... ..........................11 lpf characteristics...... .................................................................................................... .................................12 ad, da converter full scale... ............................................................................................... .........................12 notice.......................................... ............................................................................... .....................................13 power supply connection...................................................................................................... ...........................13 supplementary explanation on sg pin.......................................................................................... ...................14 timing diagrams ................................................................................................................ ........................15 serial microcontroller interface mode........................................................................................ .......................15 ready for recording with rec command......................................................................................... ..................17 ready for playback with play command......................................................................................... ..................17 starting recording with start command ........................................................................................ ....................18 starting playback with start command ......................................................................................... ....................18 ending recording/playback with stop command .................................................................................. ............19 pause of recording/playback with pause command ............................................................................... ...........19 setting voice area block with area1 commnand................................................................................. ..............20 setting voice area with area2 command........................................................................................ ...................20 setting delay value with delay command ....................................................................................... .................21 deleting phrase with del command. ............................................................................................ .....................21 outputting status with status command........................................................................................ ..............22 reading recording/playback start address with adrrd command.................................................................. ....23 writing recording/playback start address with adrwr command.................................................................. ....23 copying page data with copy command .......................................................................................... ................24 fast forward/rewind with cue/rew command ..................................................................................... ..............24 data transfer with dtrw command .............................................................................................. ......................25 ending dtrw mode with end command............................................................................................ ................25 continuous rom playback with rply command .................................................................................... .........26 reset function ............................................................................................................... ....................................27 power down function. ......................................................................................................... ..............................27 list of commands............................................................................................................... .......................28 delayed play mode............................................................................................................ ...............................28 retroactive play mode (1/2) .................................................................................................. ...........................29 retroactive play mode (2/2) .................................................................................................. ...........................30 normal mode(1/2) ............................................................................................................. ...............................31 normal mode(2/2) ............................................................................................................. ...............................32 other commands (common in all modes) (1/2). .................................................................................. ..........33 other commands (common in all modes) (2/2). .................................................................................. ..........34 fast forward/rewind playback (valid only in retroactive play mode and normal mode) ............................35 flowcharts ..................................................................................................................... ............................36
peds87v1021-01 1 semiconductor MS87V1021 3/63 delayed play mode............................................................................................................ ...............................36 retroactive play mode (1) .................................................................................................... ............................37 retroactive play mode (2) .................................................................................................... ............................38 recording in normal mode ..................................................................................................... .........................39 playback in normal mode .................................................... ................................................. ...........................40 dtrw command................................................................................................................. ................................41 status transition diagram...................................................................................................... ...........42 summary of operating modes and functions...........................................................................43 delayed play mode............................................................................................................ ................................43 retroactive play mode........................................................................................................ ..............................44 normal mode .................................................................................................................. ..................................45 fast forward/rewind function (cue/rew) ....................................................................................... ...............46 copy command ................................................................................................................. ...............................47 memory allocation .............................................................................................................. ..................49 storing sound data to dram (in pages) ........................................................................................ .................49 storing sound data to dram (in blocks). ...................................................................................... ................50 controlling address in retroactive play mode ................................................................................. ...............53 controlling address in normal mode........................................................................................... ....................54 address control data for each phrase......................................................................................... .....................55 addressing with the adrrd and adrwr commands................................................................................. ..........56 memory allocation of mask rom................................................................................................ ...................57 memory map................................................................................................................... ..................................58 recording time length...................... .................................................................................. ............................59 delay time in delayed play mode and retroactive play mode.................................................................... ...61 package dimensions ............................................................................................................. ...................62
peds87v1021-01 1 semiconductor MS87V1021 4/63 block diagram pin configuration (top view) 32-pin plastic tsop type i (tsop32-p814-k) lin cs si so sk busy xt xt reset lout lpf adc dac lpf sg volume controller maskrom 512k-bit darm 2m-bit adpcm analizer/ synthesizer timing controller mcu i/f test test amon ain sg aout sg 32 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 mgnd test test test test test test test test test busy sk so si cs mvdd agnd sg lin lout amon aout ain avdd dgnd test test test reset xt xt dvdd
peds87v1021-01 1 semiconductor MS87V1021 5/63 pin description pin no. symbol i/o description 14 si i inputs 8-bit command or data. 13 so o outputs 8-bit status or data. 12 sk i data transfer clock for si and so. 15 cs i the sk pulse is accepted when this pin is ?l?. the sk pulse is not accepted when this pin is ?h?. 11 busy o outputs ?h? level during command execution. at that time, do not input a command from the external microcontroller. 19 18 xt xt i o crystal oscillator connection pins. when using an external clock, input the clock via the xt pin and leave the xt pin unconnected. when an external clock is used in power down mode, fix the xt pin at the gnd level. 20 reset i the device is reset when ?l? level is input. when oscillation starts, set this pin to ?l? level until oscillation becomes stable, and set to ?h? level after oscillation becomes stable. data stored in the internal dram is cleared when ?l? level is input, while data is not erased when a reset signal is input for the purpose of releasing the pdwn1 mode. 31 sg o analog reference voltage (signal ground). connect a 1 f capacitor between agnd and this pin. 30 lin i inverting input pin for internal op amplifier. the non-inverting input pin is internally connected to sg. 29 lout o output pin for internal op amplifier 27 aout o output pin for playback lpf. this pin outputs playback waveforms and is connected to the speaker driving amplifier. 2 3-10, 21-23 test test i testing pin. the test pin is fixed at the v dd level and the test pins are fixed at the gnd level. 28 amon o output pin for analog testing. leave it unconnected. 26 ain i input pin for analog testing. fix it at the gnd level. 17 dvdd ? digital power supply pin. connect a 0.1 f or more bypass capacitor between dgnd and this pin. 24 dgnd ? digital gnd pin 16 mvdd ? power supply pin for drm. connect a 0.1 f or more bypass capacitor between mgnd and this pin. 1 mgnd ? ground pin for dram 25 avdd ? analog power supply pin. connect a 0.1 f or more bypass capacitor between agnd and this pin. 32 agnd ? analog gnd pin
peds87v1021-01 1 semiconductor MS87V1021 6/63 application circuit example si so sk cs reset busy mcu mvdd dvdd avdd test test aout sg xt xt mgnd dgnd agnd lin lout amon ain open + msc1157 voice input MS87V1021
peds87v1021-01 1 semiconductor MS87V1021 7/63 absolute maximum ratings (gnd = 0 v) parameter symbol condition rated value unit power supply voltage v dd ta = 25c ?0.5 to 4.6 v pin voltage v t ta = 25c ?0.5 to v dd +0.5 v output shortcircuit current i os ta = 25c 50 ma power dissipation p d ta = 25c 1 w operating temperature t opr ? ?20 to +70 c storage temperature t stg ? ?55 to +150 c recommended operating conditions (ta= ?20 to +70c) parameter symbol min. max. unit power supply voltage v dd 2.7 3.6 v power supply voltage gnd 0 0 v ?h? input voltage v ih v dd ?0.2 v dd v ?l? input voltage v il ?0.2 0.2 v source oscillation frequency f osc 4.096 mhz electrical characteristics dc characteristics (ta = ?20 to +70c) parameter symbol condition min. typ. max. unit ?h? output voltage v oh i oh = ?1 ma v dd ?0.3 ? ? v ?l? output voltage v ol i ol = +1 ma ? ? 0.3 v input leakage current (note 1) i li1 0 v < vin < v dd non-measured pins are at 0 v. ?10 ? 10 a input leakage current (note 2) i li2 0v < vin < v dd non-measured pins are at 0 v. ?20 ? 20 a operating current i dd f osc = 4.096 mhz no load ? 10 15 ma standby current 1 i dds when powered down, no load, with dram refreshing ??70 a standby current 2 i dds2 when powered down, no load, without dram refreshing ??40 a notes: 1. applicable to input pins excluding xt and xt . 2. applicable to xt and xt .
peds87v1021-01 1 semiconductor MS87V1021 8/63 ac characteristics 1. microcontroller interface mode (v dd = 2.7 to 3.6 v, ta = ?20 to +70c) (f osc = 4.096 mhz fsam = 8.0 khz) parameter symbol min. typ. max. unit note reset pulse width t rst 1?? s1 reset execution time t rex ??5ms setup and hold time of sk for cs t sks 500 ? ? ns sk pulse width ?h? t skh 1000 ? ? ns sk pulse width ?l? t skl 1000 ? ? ns setup time of si for sk rise t ds 250 ? ? ns hold time of si for sk rise t dh 250 ? ? ns data valid time from fall of cs t cse ? ? 200 ns data hi-z time from rise of cs t csf ? ? 200 ns data valid time from fall of sk t dd ? ? 200 ns busy rise time from rise of cs t bsy ? ? 200 ns source oscillation duty cycle t duty 40 50 60 % 2. busy time when a command is executed (v dd = 2.7 to 3.6 v, ta = ?20 to +70c) (f osc = 4.096 mhz fsam = 8.0 khz) parameter symbol min. max. unit note busy time after input of command t br ? 300 s busy time after input of mode setting command t modb ? 300 s busy time after input of area1 command (3) normal mode t ar1b ?1ms delayed play mode retroactive play mode busy time after input of area2 command (3) normal mode t ar2b ?1ms retroactive play mode busy time after input of delay command (3) normal mode t dlyb ?1ms delayed play mode ? 65 ms 2 retroactive play mode busy time after input of rec command (2) normal mode t recb ?1ms delayed play mode during recording retroactive play mode t plyb ?65ms2 delayed play mode busy time after input of play command (2) during pause retroactive play mode normal mode t plyb ?1ms
peds87v1021-01 1 semiconductor MS87V1021 9/63 (v dd = 2.7 to 3.6 v, ta = ?20 to +70c) (f osc = 4.096 mhz fsam = 8.0 khz) parameter symbol min. max. unit note during recording during pause retroactive play mode ?65ms 2 busy time after input of play2 command (2) normal mode t playb ?1ms ?65ms 2 after input of stop command during pause busy time after input of stop command during rom playback (non-linear) t spb ?1ms busy time after input of pause command t pb ?65ms 2 retroactive play mode ?300 s busy time after input of adrrd command (2) normal mode ? 1 ms busy time after input of adrrd command (8) t adrb ?1ms busy time after input of adrwr command (8) t adwb ?1ms busy time after input of cue/rew command (2) t crb ?65ms 2 busy time after input of del command (2) t delb ?65ms 2 busy time after input of dtrw command t br ?300 s busy time after input of bytew command t br ?300 s busy time after input of byter command t br ?300 s busy time after input of end command t br ?300 s busy time after input of copy command (7) t cpyb ?10ms 1 page busy time after input of vol command t br ?300 s busy time after input of rply command t br ?300 s busy time after input of status command t br ?300 s busy time after input of nop command t br ?300 s a number in parenthesis indicates the number of bytes of each command.
peds87v1021-01 1 semiconductor MS87V1021 10/63 3. status flag time when a command is executed (v dd = 2.7 to 3.6 v, ta = ?20 to +70c) (f osc = 4.096 mhz fsam = 8.0 khz) parameter symbol min. max. unit note rec command to rpm bit set t recr ?1ms play command to rpm bit set t plyr ?1ms during rom playback t rplyr ?2ms play2 command to rpm bit set t plyr ?65ms2 stop command to rpm bit set t spr ?2ms during rom playback t rspr ?1ms stop command (during pause) to rpm bit set t pspr ?1ms rec command to rec bit set t rec ?1ms play command to ply bit set delayed play mode during recording ?65ms2 during pausing retroactive play mode normal mode t ply ?1ms pause command to pause bit set t pus ?65ms2 pause command to pause bit reset t pusr ? 300 s address control time during repeated rom playback t ad ?2ms oscillation stop from rise of cs after input of pwdn1 command ? 65 ms during rom playback ? 1 ms oscillation stop from rise of cs after input of pwdn2 command ? 65 ms during rom playback t pxt ?1ms note 1: when powering on or releasing the power down mode, input ?l? level to the reset pin until crystal oscillation becomes stable. moreover, when powering on, input again ?l? level to the reset pin for more than t rst to initialize the internal circuit. 2: depending on sampling frequency fsam.
peds87v1021-01 1 semiconductor MS87V1021 11/63 analog characteristics (v dd = 2.7 to 3.6v,ta = -20 to +70c) parameter symbol condition min. max. unit da output relative error |v dae |no load ? 5mv lpf input voltage range v fin ?1/4 v dd 3/4 v dd v op-amp open loop gain g op f in = 0 to 4 khz 10 db op-amp input impedance r ina ?1?m ? op-amp load resistance r outa ? 100 ? k ? aout load resistance r aout ? 100 ? k ? analog input amplifier ciricuit this ic contains an op amplifier with the inverting input pin and output pin. the analog circuit reference voltage (signal ground) is internally input as the non-inverting input. when amplification is required, adjust the amplification factor using an external resistor after constructing the inverting amplifier circuit. the output pin, lout, of op amplifier is internally input to lpf (low pass filter). adjust the gain using the external resistor so that the v lo is within the accessible input voltage range v fin . if v lo is over the v fin , the lpf output waveform will be distorted. the example of scf input voltage range is shown below. scf admissible voltage range model supply voltage v dd min. max. scf admissible input voltage MS87V1021 3 v 0.75 v 2.25 v 1.5 vp-p the minimum value of op-amp load resistance is 100 k ? . the feedback resistance r2 of inverting amplifier circuit must be larger than 100 k ? . v dd v fin (max) v dd 1 2 v fin (min) gnd v lo v lo = r2 r1 v ih r2 r1 v in + ? lin sg lout v lo inside lsi + ?
peds87v1021-01 1 semiconductor MS87V1021 12/63 lpf characteristics the MS87V1021 contains a 4-th order lpf in which the switched capacitor filter technique is adopted. the lout pin is internally connected to the input of lpf. the attenuation rate is ?40 db/oct. the cut-off frequency and frequency characteristics vary in proportion to sampling frequency (fsam). the cut-off frequency is designed to 4/10 of sampling frequency. the characteristics of lpf when fsam = 8 khz are shown below. ad, da converter full scale ad, da converter full scale model min. (v) max. (v) amplitude (vp-p) MS87V1021 1/4 v dd 3/4 v dd 1/2 v dd v dd (3 v) 3 4 v dd (2.25 v) 1 2 v dd (1.5 v) 1 4 v dd (0.75 v) 0 v (0 v) a value in parenthesis indicates a voltage when v dd is 3.0 v. ad, da converter full scale lpf admissible input voltage range ?80 ?70 ?60 ?50 ?40 ?30 ?20 ?10 0 10 20 100 1k 10k [hz] [db] lpf characteristics (fsam = 8.0 khz)
peds87v1021-01 1 semiconductor MS87V1021 13/63 notice power supply connection the power of this ic is supplied from a single power supply as shown below, which should be connected to the analog section, logic section and memory section separately. if the analog section, digital section and memory section are supplied from different power sources, a latch-up may occur. be sure to avoid the power supply connections shown below. power source 1 mvdd dvdd mvdd avdd dvdd avdd avdd mvdd dvdd lsi lsi mvdd dvdd avdd power source 2 power source 2 power source 1 power source lsi mv dd av dd dv dd mgnd agnd dgnd ground power source power source 1 lsi power source 2
peds87v1021-01 1 semiconductor MS87V1021 14/63 supplementary explanation on sg pin connect a 1 f electrolytic capacitor between the sg pin and agnd. after reset or releasing the power down mode, do recording or playback after the voltage level of sg pin becomes stable. the voltage level becomes stable at 1/2 of v dd . the time to be stabilized is approximately 50 ms in case shown below. agnd sg pin inside of lsi + 1 f external circuit approx. 20 k ? approx. 20 k ?
peds87v1021-01 1 semiconductor MS87V1021 15/63 timing diagrams serial microcontroller interface mode [data write operation] [data read operation] sk (i) si (i) busy (o) cs (i) so (o) msb d6 d5 d4 d3 d2 d1 lsb msb d6 d5 d4 d3 d2 1st byte 2nd byte data i/o disabled hi-z sk (i) si (i) busy (o) cs (i) so (o) msb q6 q5 q4 q3 q2 q1 lsb msb d6 d5 d4 d3 d2 data output data input data i/o disabled hi-z hi-z
peds87v1021-01 1 semiconductor MS87V1021 16/63 [data write operation] (note) be sure to set sk to ?l? when cs is at ?h? level. [data read operation] (note) be sure to set sk to ?l? when cs is at ?h? level. sk (i) si (i) busy (o) cs (i) so (o) ms d6 t sks t skl t skh t ds t dh d1 lsb t sks hi-z t bsy (note) ?l? level (note) ?l? level sk (i) si (i) busy (o) cs (i) so (o) ms q6 t sks t skl t skh t cse t dd d1 lsb t sks hi-z t bsy (note) ?l? level (note) ?l? level t csf hi-z
peds87v1021-01 1 semiconductor MS87V1021 17/63 ready for recording with rec command ready for playback with play command t br t recb executing rec command (1) standby executing rec command ( 2 ) standby sk si busy cs rec command (1) rec command (2) standby t br t plyb executing play command (1) standby executing play command (2) standby sk si busy c s play command (1) play command (2) standby
peds87v1021-01 1 semiconductor MS87V1021 18/63 starting recording with start command starting playback with start command executing play command (1) standby playing sk si busy cs play command (1) play command (2) start command executing play command (2) standby executing start command standby rpm bit t plyr t br rpm bit executing rec command (1) standby recording sk si busy cs rec command (1) rec command ( 2 ) start command executing rec command (2) standby executing start command standby t recr t stb
peds87v1021-01 1 semiconductor MS87V1021 19/63 ending recording/playback with stop command pause of recording/playback with pause command t pb executing pause command pausing pausing sk si busy cs pause command pause command pause command executing pause command recording/playing t pb executing pause command recording/playing t pb t pus pause bit t pusr t spb recording/playing stop processing standby sk si busy rpm bit c s stop command (1) t spr
peds87v1021-01 1 semiconductor MS87V1021 20/63 setting voice area block with area1 command setting voice area with area2 command t br executing area2 command (1) standby standby sk si busy c s area2 command ( 1 ) area2 command ( 2 ) area2 command ( 3 ) executing area2 command (2) standby t br t ar2b executing area2 command (3) standby t br executing area1 command (1) standby standby sk si busy cs area1 command ( 1 ) area1 command (2) area1 command (3) executing area1 command (2) standby t br t ar1b executing area1 command (3) standby
peds87v1021-01 1 semiconductor MS87V1021 21/63 setting delay value with delay command deleting phrase with del command t br executing delay command (1) standby standby sk si busy c s delay command ( 1 ) delay command (2) delay command (3) executing delay command (2) standby t br t dlyb executing delay command (3) standby t br t delb executing del command ( 1 ) standby executing del command (2) standby sk si busy c s del command (1) del command (2) standby
peds87v1021-01 1 semiconductor MS87V1021 22/63 outputting status with status command t br executing status command standby busy standby so status output status output sk si c s status command t br
peds87v1021-01 1 semiconductor MS87V1021 23/63 reading recording/playback start address with adrrd command writing recording/playback start address with adrwr command sk si c s adrrd(1) adrrd(2) so busy executing adrrd (1) command standby t br t adrb t br t br t br t br t br t adrb stadr [23:16] stadr [15:8] stadr [7:0] enadr [23:16] enadr [15:8] enadr [7:0] standby standby executing adrrd (2) command executing adrrd (3) command standby standby standby standby standby standby executing adrrd (4) command executing adrrd (5) command executing adrrd (6) command executing adrrd (7) command executing adrrd (8) co mm a n d reading stadr address reading enadr address t br sk si cs adrwr(1) adrwr(2) busy executing adrwr (1) command standby t br t br t br t br t br t adrb stadr [23:16] stadr [15:8] stadr [7:0] enadr [23:16] enadr [15:8] enadr [7:0] standby standby executing adrwr (2) command executing adrwr (3) command standby standby standby standby standby standby executing adrwr (4) command executing adrwr (5) command executing adrwr (6) command executing adrwr (7) command executing adrwr (8) command writing stadr address writing enadr address t br
peds87v1021-01 1 semiconductor MS87V1021 24/63 copying page data with copy command fast forward/rewind with cue/rew command t br sk si c s copy(1) pgstart [15:8] busy executing copy (1) command standby t br t br t br t br t cpyb target [15:8] target [7:0] standby standby executing copy (2) command executing copy (3) command standby standby standby standby standby executing copy (4) command executing copy (5) command executing copy (6) command executing copy (7) command t br pgstart [7:0] pgend [15:8] pgend [7:0] executing cue/rew (1) command executing cue/rew (2) command executing cue/rew (1) command sk si c s cue/ rew(1) busy t br t br t crb standby standby standby standby t crb cue/ rew ( 2 ) standby normal playing fast forwarding/rewinding (double speed) cue/ rew ( 1 ) cue/ rew ( 2 ) fast forwarding/rewinding (single speed) executing cue/rew (2) command
peds87v1021-01 1 semiconductor MS87V1021 25/63 data transfer with dtrw command ending dtrw mode with end command sk si cs dtrw(1) dtrw(2) dtrw(3) dtrw(4) bytew(1) write data byter(1) read data so busy executing dtrw command standby standby executing bytew command executing byter command t br t br t br t br t br t br t br t br t br standby standby sk si busy c s end command executing end command
peds87v1021-01 1 semiconductor MS87V1021 26/63 continuous rom playback with rply command (note) when rom is being continuously played, other commands than rply command, stop command, vol command and status command cannot be acceptable. sk si c s rply ( 1 ) rply ( 1 ) rply ( 2 ) busy playing phrase1 t br t br phrase 1 phrase 2 rply ( 1 ) rply ( 2 ) phrase 3 nar bit rpm bit voice output playing phrase2 playing phrase3 t ad t ad rply ( 2 )
peds87v1021-01 1 semiconductor MS87V1021 27/63 reset function [reset after powering on] when powering on, be sure to initialize the internal circuit by inputting an ?l? level pulse to the reset pin for a specified time after the power supply voltage level reaches the specified level and oscillation becomes stable. power down function busy power down command input executing reset sk si c s power down command t pxt xt x t power down command processing power down oscillation start reset input standby t rst t rex stable oscillation oscillation stop oscillation start stable oscillation standby r eset busy v dd xt x t stable oscillation oscillation start r eset t rex specified power supply voltage t rst
peds87v1021-01 1 semiconductor MS87V1021 28/63 the commands list delayed play mode command code description mode 1st byte 01h sets the operating mode to delayed play mode. 1st byte 39h selects a sound data area. 2nd byte start2[7:0] start block address; address range: 00h to ffh, by default set to: 00h 3rd byte end2[7:0] end block address; address range: 00h to ffh, by default set to: ffh area2 the memory area starting from the block specified with the start2 up to that specified with the end2 is selected. up to 256 blocks can be selected. each value set with this command remains valid until you enter reset or the mode command to change the operating mode. you may not set the start2 address value that is lower than the end2 address. delay 1st byte 38h defines the delay time (i.e. a time lag between recording and its playback). 2nd byte dly[15:8] 3rd byte dly[7:0] the value for the dly the delay time can be obtained with the following formula: (dly 250 sampling frequency) for more details on setting the dly value, see ?delay time in delayed play mode and retroactive play mode? later in this document. 1st byte 10h sets the lsi to record-ready state and selects the method and samp values. method[7:4] the value for the method. rec 2nd byte samp[3:0] the value for the samp. entering the start command following the rec command input initiates recording, which keeps going on until the stop command is entered. while recording, playback will not start until the play command is entered. if you enter the rec command while recording and playing, the lsi stops playing and outputs sg level from the aout pin. in this case, recording still goes on even after playback stops. voice synthesis algorithm sampling frequency 1st byte 20h sets the lsi to play-ready state and selects the method and samp values. method[7:4] the value for the method. play 2nd byte samp[3:0] the value for the samp. entering the play command while recording causes the lsi to start playing what has been recorded the delay time ago, with recording still going on. for more details on the method and samp, see description on the rec command earlier in this document. start 1st byte 30h starts recording/playing. stop 1st byte 40h stops recording/playing. samp sampling frequency 3h 4.0khz (fosc/1024) 4h 4.0khz (fosc/1024) 5h 5.3khz (fosc/768) 6h 6.4khz (fosc/640) 7h 8.0khz (fosc/512) 8h 8.0khz (fosc/512) 9h 10.6khz (fosc/384) others prohibited fosc = 4.096 mhz algorithm method 0h 1h adpcm2 others prohibited adpcm
peds87v1021-01 1 semiconductor MS87V1021 29/63 retroactive play mode (1/2) command code description mode 1st byte 02h sets the operating mode to retroactive play mode. (cue/rewind function available) 1st byte 39h selects a sound data area. 2nd byte start2[7:0] start block address; address range: 00h to ffh, by default set to: 00h area2 3rd byte end2[7:0] end block address; address range: 00h to ffh, by default set to: ffh the memory area starting from the block specified with the start2 up to that specified with the end2 is selected. up to 256 blocks can be selected. each value set with this command remains valid until you enter reset or the mode command to change the operating mode. you may not set the start2 address value that is lower than the end2 address. 1st byte 38h defines the delay time (i.e. a time to go back to the past). 2nd byte dly[15:8] delay 3rd byte dly[7:0] the value for the dly use this command to set the delay time, that is the time length going back to the past from the time when the play or play2 command is entered. the delay time can be obtained with the following formula: (dly 250 sampling frequency) for more details on setting the dly value, see ?delay time in delayed play mode and retroactive play mode? later in this document. 1st byte 01h sets the lsi to record-ready state and selects the method and samp values. method[7:4] the value for the method. 2nd byte samp[3:0] the value for the samp. rec for more details on the method and samp, see description on the rec command in delayed play mode earlier in this document. 1st byte 20h sets the lsi to play-ready state and selects the method and samp values. method[7:4] the value for the method. 2nd byte samp[3:0] the value for the samp. play entering the play command while recording causes the lsi to play once from what was recorded the delay time ago up to the time when the play command is entered. in this case, recording stops. for more details on setting the dly value, see ?delay time in delayed play mode and retroactive play mode? later in this document. 1st byte 21h sets the lsi to repeat-play-ready state and selects the method and samp values. method[7:4] the value for the method. play2 2nd byte samp[3:0] the value for the samp. entering the play2 command while recording causes the lsi to repeat playing from what was recorded the delay time ago up to the time when the command is entered. in this case, recording stops. for more details on setting the dly value, see ?delay time in delayed play mode and retroactive play mode? later in this document.
peds87v1021-01 1 semiconductor MS87V1021 30/63 retroactive play mode (2/2) command code description 1st byte 51h use this command to read the start and end address values of the recorded data. 2nd byte 00h set this to ?00h?. 3rd byte stadr[23:16](o) 4th byte stadr[15:8](o) 5th byte stadr[7:0](o) outputs the start-record address (in serial from the so pin). 6th byte enadr[23:16](o) 7th byte enadr[15:8](o) 8th byte enadr[7:0](o) outputs the end-record address (in serial from the so pin). adrrd you need to know the exact address where sound data is stored to play the data again in retroactive play mode after record/play operation in the mode is complete. this command allows you to read the start-record and end-record addresses. 1st byte 50h use this command to write the start and end address values of the playback data. 2nd byte 00h set this to ?00h?. 3rd byte stadr[23:16] 4th byte stadr[15:8] 5th byte stadr[7:0] the value for the start-play address. you need to set the lower 7 bits to ?0?. 6th byte enadr[23:16] 7th byte enadr[15:8] 8th byte enadr[7:0] the value for the end-play address. you need to set the lower 7 bits to ?1?. adrwr you need to specify the address where sound data is stored to play the data again in retroactive play mode after record/play operation in the mode is complete. this command enables you to write the start-play and end-play addresses. normally you specify the addresses that you read by using the adrrd command. 1st byte 41h pauses recording or playing. pause re-entering the command resets pause state and resumes the earlier operation. 1st byte 30h starts recording or playing in retroactive play mode. start entering the start command following the rec command causes the lsi to start recording in retroactive play mode. meanwhile, entering the start command following the play1 or play2 command causes the lsi to start playing, looking up address information on the internal stadr/enadr register that contains the record-start and record-end addresses. stop 1st byte 40h stops recording or playing in retroactive play mode.
peds87v1021-01 1 semiconductor MS87V1021 31/63 normal mode (1/2) command code description mode 1st byte 03h sets the operating mode to normal play mode. (cue/rew function available) 1st byte 36h selects an area for address control and sound data. 2nd byte start1[7:0] start block address; address range: 00h to ffh, by default set to: 00h area1 3rd byte end1[7:0] end block address; address range: 00h to ffh, by default set to: ffh the memory area ranging from the block specified with the start1 up to that specified with the end1 is selected for storing both address control and sound data. up to 256 blocks can be selected. each value set with this command remains valid until you enter reset. the area1 command is valid in normal play mode only. you may not set the start1 address value that is lower than the end1 address. 1st byte 39h selects a sound data area. 2nd byte start2[7:0] start block address; address range: 00h to ffh, by default set to: 00h area2 3rd byte end2[7:0] end block address; address range: 00h to ffh, by default set to: ffh this command is used to select a sound data area within the memory area defined by using the area1 command. the area ranging from the block specified with the start2 up to that specified with the end2 is selected. each value set with this command remains valid until you enter reset or the mode command to change the operating mode. the first 2 blocks (02h; 16 pages) of the memory area selected by the area1 command are automatically assigned to the address control data area. therefore, blocks you can actually select as sound data area are the third block and thereafter (the value for the start1 + 02h). the values defined by the start1, start2 and end1, end2 must satisfy the following formula: start2 start1 + 02h; end2 end1 for more details, see ?controlling addresses in normal play mode? later in this document. note: you may not set the start2 address value that is lower than the end2 address. 1st byte 10h sets the lsi to record-ready state and selects the method and samp values. method[7:4] the value for the method. rec 2nd byte samp[3:0] the value for the samp. for more details on the method and samp, see description on the rec command in delayed play mode earlier in this document. 1st byte 20h sets the lsi to one-time-play-ready state and selects a phrase to be played. play 2nd byte phrase[7:0] the value for the phrase. range: 01h to ffh for playback the lsi uses the method and samp values set with the rec command. 1st byte 21h sets the lsi to repeat-play-ready state and selects a phrase to be played. 2nd byte phrase[7:0] the value for the phrase. range: (01h to ffh) play2 for playback the lsi uses the method and samp values set with the rec command.
peds87v1021-01 1 semiconductor MS87V1021 32/63 normal mode (2/2) command code description 1st byte 51h use this command to read the start and end address values of the specified phrase. 2nd byte phrase[7:0] the value for the phrase. range: 01h to ffh 3rd byte 4th byte 5th byte stadr[23:16](o) stadr[15:8] (o) stadr[7:0] (o) outputs the start address (in serial from the so pin). 6th byte 7th byte 8th byte enadr[23:16](o) enadr[15:8](o) enadr[7:0](o) outputs the end address (in serial from the so pin). adrrd this command allows you to read the start address and end address of the phrase specified. 1st byte 50h use this command to write the start and end address values of the specified phrase. 2nd byte phrase[7:0] the value for the phrase. range: 01h to ffh 3rd byte 4th byte 5th byte stadr[23:16] stadr[15:8] stadr[7:0] the value for the start address. you need to set the lower 7 bits to ?0?. 6th byte 7th byte 8th byte enadr[23:16] enadr[15:8] enadr[7:0] the value for the end address. you need to set the lower 7 bits to ?1?. adrwr with this command you can define a phrase and the start and end addresses of the phrase. addressing is in pages. you should specify the page's top address (the lower 7 bits = 0) for the start address, while the page's end address (the lower 7 bits = 1) for the end address. if you specify stadr = enadr, the lsi performs endless (loop) recording. note: you may not specify the start address value that is larger than the end address. 1st byte 70h deletes the specified phrase(s). 2nd byte phrase[7:0] the value for the phrase. range: 01h to ffh del if you specify ?00h? for the phrase, all phrase data will be erased. 1st byte 41h pauses recording or playing. pause re-entering the command resets pause state and resumes the earlier operation. start 2nd byte phrase[7:0] starts recording or playing. stop 1st byte 40h stops recording or playing.
peds87v1021-01 1 semiconductor MS87V1021 33/63 other commands common in all modes (1/2) command code description nop 1st byte 00h represents ?no operation?. the command is ignored. 1st byte 60h use this command to make an access to the on-chip dram or mask rom. 2nd byte 3rd byte 4th byte adr[23:16] adr[15:8] adr[7:0] specify the head address at which you want to start reading or writing. dtrw you can?t access to dram and mask rom simultaneously. if you want to access to the other memory address, you need to enter the end command to end dtrw mode once, and then set up the new address by using the dtrw command again. 1st byte 61h use this command to write data to the on-chip dram. bytew 2nd byte data[7:0] writing data. after writing data is complete, the address pointer for writing is incremented by one. when the last address of the dram is reached, the next address automatically returns to the top address of the dram. 1st byte 62h use this command to read data from the on-die dram or mask rom. 2nd byte data[7:0] reading data (in serial from the so pin). byter after reading data is complete, the address pointer for reading is incremented by one. when the last address of the dram or mask rom is reached, the next address automatically returns to the top address of each memory. end 1st byte 63h use this command to end dtrw mode. pdwn1 1st byte 80h use this command to let the lsi enter power-down state. the on-chip dram enters self-refresh mode to preserve all the stored data. pdwn2 1st byte 88h use this command to let the lsi enter power-down state. data on the dram will be lost. test 1st byte f0h the lsi test command. do not enter the command. 1st byte 24h use this command to play mask rom data. 2nd byte phrase[7:0] sets rom phrase value. rply the mask rom phrase values are independently controlled, separately from the phrase values for dram recording. 1st byte 28h use this command to set up a volume level. 2nd byte vol[7:0] vol the default value for the vol is ?0h?. vol values and attenuation vol a ttenuation vol a ttenuation 0h 0 db 4h ?12 db 1h ?3 db 5h ?15 db 2h ?6 db 6h ?18 db 3h ?9 db 7h ?21 db
peds87v1021-01 1 semiconductor MS87V1021 34/63 other commands common in all modes (2/2) command code description 1st byte 68h use this command to move data in pages. 2nd byte 3rd byte pgstart[15:8] pgstart[7:0] enter the top address of the page where the data you want to move is stored. 4th byte 5th byte pgend[15:8] pgend[7:0] enter the last address of the page where the data you want to move is stored. 6th byte 7th byte target [15:8] target [7:0] enter the top address of the starting page to which you want to move the data. copy the data from the page specified with the pgstart to the page specified with the pgend is moved to the pages starting from the page specified with the target. status 1st byte ffh reads lsi?s status. 2nd byte status[7:0](o) outputs the lsi?s status signals. (in serial from the so pin) status bit function bit name description 7 pause outputs ?h? during pausing. 6ply outputs ?h? during playing. 5rec outputs ?h? during recording. 4rpm outputs ?l? while processing recording or playing data. outputs "h" while the adpcm unit is ready. 3nar outputs ?h? when the lsi gets ready to accept the next phrase data while playing mask rom data. 2 ? no function. 1 ? no function. 0 ? no function.
peds87v1021-01 1 semiconductor MS87V1021 35/63 fast forward/rewind playback (valid only in retroactive play mode and normal mode) command code description 1st byte 23h start fast forward or rewing playback unit[7:4] sets unit value cue/rew 2nd byte speed[3:0] sets speed value use this command, while playing, to start fast forward or rewinding playback from the point that is currently played. when you want to get the speed back to normal x1 play, execute the cue/rew command again with the speed value of ?0?. the unit vlaue is ignored in this operation. unit function speed function combinations of units and speeds the combination of the unit value and the speed value affects playback sound. therefore, choose a proper combination of the two values depending on the type of sound to be played. the fast forward/rewind play function is available only in retroactive play mode and normal mode. if you use this function, you should not use the block address ffh. note: the following restrictions apply to this function: ? the size of the sound data area must be 128 pages (i.e. 16 blocks) or more. ? you may not use the block address ffh. ? the cue/rew command is unavailable for playback after an endless recording session or repeat play by using the play2 command. unit description 0 by unit of 1,024 bits 1 by unit of 2,0484 bits 2 by unit of 4,0964 bits 3 by unit of 8,192 bits 4 by unit of 16,384 bits speed description speed description 0 ff at x1 speed 8 rewind at x1 speed 1 ff at x1.25 speed 9 rewind at x1.25 speed 2 ff at x1.5 speed a rewind at x1.5 speed 3 ff at x2 speed b rewind at x2 speed 4 ff at x3 speed c rewind at x3 speed 5 ff at x4 speed d rewind at x4 speed speed unit 012345 0x1 ? ? ? ? ? ? 1 x1.25 ? ? 2x1.5 ? 3x2 4x3 5x4 8x1 ? ? ? ? ? ? 9 x1.25 ? ? a x1.5 ? bx2 cx3 dx4
peds87v1021-01 1 semiconductor MS87V1021 36/63 flowcharts delayed play mode play ? play command stop playing ? rec command n y n n y stop command end [start playback] [stop recording/playback] send stop command (40h) send play command (20h) send method [7:4]/samp [3:0] (note) the play mode is maintained until stop command is input. (note) when play command is issued during recording, the method/samp value of rec command has priority. start mode command [select operating mode] area2 command dly command rec command start command [select voice area] [set delay time] [set to recording state] [start recording] send mode command (01h) select delay mode send area2 command send start2 [7:0] send end2 [7:0] send dly command (38h) send dly [15:8] send dly [7:0] send rec command (10h) send method [7:4]/samp [3:0] send start command (30h) end ? y
peds87v1021-01 1 semiconductor MS87V1021 37/63 retroactive play mode (1) shown below is the flowchart in which playback starts by issuing the play or play2 command during recording. when playing the recorded voice, see the flowchart on the next page. (caution) note the following when playing the recorded voice in retroactive play mode after playback in other modes such as delayed play mode and normal playb mode. the recording address information on playback in retroactive play mode is not maintained when the mode is moved to other mode. therefore, be sure to read the recording address information with adrrd command before moving to other mode. when doing playback, write the recording address information as the playback address information with adrwr command. start mode command [select operating mode] area 2 command dly command rec command start command [select voice area] [set delay time] [set to recording status] [start recording] play ? n send mode command (02h) select retroactive play mode send area2 command (39h) send start2 [7:0] send end2 [7:0] send dly command (38h) send dly [15:8] send dly [7:0] send rec command (10h) send method [7:4]/samp [3:0] send start command (30h) y play or play2 command [start one time playback] or [start repeat playback] cue or rew ? cue/rew command end ? stop command end n n y y [start playback after fast forwarding/rewinding] [stop repeat playback] send stop command (40h) send cue/rew command (23h) send unit [7:4]/speed [3:0] send play command (20h) or play2 command (21h) send method [7:4]/samp [3:0] (note) recording stops and repeat playback starts. (note) when play or play2 command isissued during recording, the method/samp value of rec command has priority.
peds87v1021-01 1 semiconductor MS87V1021 38/63 retroactive play mode (2) shown below is the flowchart in which the voice that was recorded in repeat playback mode is played later. start mode command [select operation mode] area2 command dly command adrrd command start command [select voice area] [set delay time] [read recording address information] [start playback] send mode command (02h) select retroactive play mode send area2 command (39h) send start2 [7:0] send end2 [7:0] send dly command (38h) send dly [15:8] send dly [7:0] send start command (30h) adrwr command [write playback address information] play or play2 command [set to one time playback status] or [set to repeat playback status] send play command (20h) or play2 command (21h) send method [7:4]/samp [3:0] cue/rew ? cue/rew command end ? stop command end n n y y [fast forwarding/ rewinding starts] [stop playback] send stop command (40h) send cue/rew command (23h) send unit [7:4]/speed [3:0] send adrrd command (50h) send (00h) send stadr [23:16], stadr [15:8], stadr [7:0] (lower 7 bits stadr [6:0] are ?0?) send enadr [23:16], enadr [15:8], enadr [7:0] (lower 7 bits enadr [6:0] are ?1?) send adrrd command (51h) send (00h) receive stadr [23:16], stadr [15:8], stadr [7:0] receive enadr [23:16], enadr [15:8], enadr [7:0]
peds87v1021-01 1 semiconductor MS87V1021 39/63 recording in normal mode start mode command [select operating mode] area1 command start command [select voice area block] [start recording] send mode command (03h) select normal mode send area1 command (36h) send start1 [7:0] send end1 [7:0] send start command (30h) adrwr command [write recording address information] send adrrd command (50h) send (00h) send stadr [23:16], stadr [15:8], stadr [7:0] (lower 7 bits stadr [6:0] are ?0?) send enadr [23:16], enadr [15:8], enadr [7:0] (lower 7 bits enadr [6:0] are ?1?) area2 command [select voice area] send area2 command (39h) send start2 [7:0] send end2 [7:0] rec command [set to recording status] send rec command (10h) send method [7:4]/samp [3:0] recording finished ? end recording ? stop command end rpm bit = ?1? n rpm bit = ?0? n y [end recording] send stop command (40h) y
peds87v1021-01 1 semiconductor MS87V1021 40/63 playback in normal mode start mode command [select operating mode] area1 command start command [select voice area block] [start playback] send mode command (03h) select normal mode send area1 command (36h) send start1 [7:0] send end1 [7:0] send start command (30h) area2 command [select voice area] send area2 command (39h) send start2 [7:0] send end2 [7:0] play command [set to playback status] send play command (20h) send phrase [7:0] playback finished ? y rpm bit = ?1? n rpm bit = ?0? end playback ? n y n cue/rew ? y n cue/rew command stop command end [end playback] send stop command (40h) send cue/rew command (23h) send unit [7:4]/speed [3:0] [start playback after fast forwarding/rewinding]
peds87v1021-01 1 semiconductor MS87V1021 41/63 dtrw command start dtrw command [select operating mode] bytew command [set the top address of dram or rom to be accessed] send dtrw command (60h) send adr [23:16], adr [15:8], adr [7:0] [write data to dram] send bytew command (61h) send data [7:0] continue dtrw ? y write data ? n n y byter command [read data from dram, rom] send byter command (62h) receive data [7:0] end command end [end of access to dram, rom] receive end command (63h)
peds87v1021-01 1 semiconductor MS87V1021 42/63 status transition diagram vol: set a volume status: output a status signal vol: set a volume status: output a status signal waiting for command mode: select a mode. delay: set to a dly volume. rec: set to a recording status. play: set to a playback status. play2:set to repeat-play- ready status. vol: select a volume. del: delete phrase data. copy: copy page data. status: output a status signal. area1: select a voice data management area (normal mode). area2: select a voice data storage area. adrwr: input a phrase recording/playback address (retroactive mode, normal mode). adrrd: output a phrase recording/playback address (retroactive mode, normal mode). recording/playback in each mode start: start recording/playback o pera ti on i n d e l aye d play mode mode=01h mode=02h recording/playback in normal mode playback after cue/rew cue/rew: fast forwarding/rewinding stop: stop recording/playback rom playback rply: start rom playback stop: stop rom playback rply: start rom playback mode=03h pause: pause/resume pausing stop: stop playback a continuous phrase playback pausing a reading/writing data dtrw : read/write data end : end reading/writing data byte data writing byte data reading byter: start reading data bytew: start writing data power down pwdn1: power down (data is retained) pwdn2: power down (data is not retained) input reset pulse. playback is pausing stop: stop recording/playback a rec: stop playback (in delayed play mode) play: re-start p la y back pause: pause/resume vol: set a volume status: output a status signal operation in retroactive play mode pause: pause/resume pausing stop: stop recording/playback a stop: stop recording/playback a vol: set a volume status : output a status signal vol: set a volume status: output a status signal
peds87v1021-01 1 semiconductor MS87V1021 43/63 summary of operating modes and functions delayed play mode delayed play is a unique operational mode that enables you to hear what has been recorded several seconds ago while the lsi keeps on recording current sound. as shown in the figure below, while the lsi keeps on recording in endless circular motion by returning to the top address of the dram?s area specified with the area2 command, it simultaneously plays what has been recorded earlier with a time lag defined with the delay command. adding this function to a conventional recording system like cassette tape recorder enables you to record sound in the past to such other media as a cassette tape. in retroactive play mode or normal mode, you cannot play what has been recorded in delayed play mode. record play returning to the top address of the area recording area on dram delay time (time lag between recording and playing)
peds87v1021-01 1 semiconductor MS87V1021 44/63 retroactive play mode retroactive play is another unique and handy operational mode that enables you to hear what you have missed a short period ago. while you let the lsi continue recording in endless circular motion to the memory?s area specified with the area2 command, you can issue the play or play2 command to hear what you have missed, going back to earlier data that the lsi has stored so far. this enables you to record sound in the past retroactively, which differentiate your application from so called ?voice reminder? type of applications. the delay time, that is a time length to go back to the past, can be defined by using the delay command. in addition, the lsi supports cue/rewind function that has been unavailable with conventional adpcm record/play chips. this provides you with faster search capability among recorded messages. issuing the play or play2 command during recording operation causes the lsi to stop recording. record play ? one-time playback with the play command time length to go back to the p ast delay time issuing the play or play2 command play ? continuous repeat playback with the play2 command time length to go back to the p ast delay time record operation goes on until the play or play2 command is issued
peds87v1021-01 1 semiconductor MS87V1021 45/63 normal mode MS87V1021 also provides normal mode where you can record or play to/from the on-chip dram as with a conventional solid-state recorder. you can readily build a ?voice reminder? application around this microchip that enables up to 255-phrase recording and playing. in addition, the lsi supports cue/rewind function that has been unavailable with conventional adpcm record/play chips. this provides you with faster search capability among recorded messages. dram?s sound data storage area you can flexibly adjust the size of each phrase area according to your recording time requirement. assume that you already have phrase1 through phrase3 recorded. now, you want to erase phrase2 and phrase3 so that you can create new phrase2 with larger memory space. to do so, follow the steps below: erase phrase2 and phrase3 by using the del command. record to phrase2. phrase1 phrase2 phrase3 1phrase 2phrase 3phrase 254phrase 255phrase phrase2 phrase1 phrase1
peds87v1021-01 1 semiconductor MS87V1021 46/63 fast forward/rewind function (cue/rew) fast forward/rewind playback function is a unique new feature that enables you to do speed hearing across multiple phrases. this function is available in retroactive play mode and normal mode only. fast forward and rewind playback is performed by culling recorded adpcm data. you can optimize speedy hearing quality for source sound types by selecting appropriate culling interval and playback speed. the figure below shows an example operations performing fast forward/rewind playback in the following order; normal play ? x2 fast forward ? x4 rewind ? x1 play *1: playback by using the play command *2: playback at x1 speed by using the cue/rew command. you need to issue the cue/rew command, setting the speed value to ?0?, if you want to return to normal x1 speed playback after performing cue/rew operation. [restrictions on fast forward/rewind playback function ] (1) if you plan to use cue/rew function in your application, you should not use block address ffh for storing sound data in retroactive play mode and normal mode. if you intend not to use the function, you can use all blocks including ffh. (2) you cannot use cue/rew function in normal mode when the record_start address is equal to the record_end address. (when voices are played after endless recording) start end normal play *1 x1 play *2 x2 fast forward x4 rewind : represents sound data to be played after thinning out in ff/rewind playback. 12345 1 2 3 4
peds87v1021-01 1 semiconductor MS87V1021 47/63 copy command you can use the copy command to move recorded data that you want to keep to another location on the memory. moving specific data to another location enables you to secure contiguous open memory space for longer recording time. be sure to select a destination area not overlapping with a source data area. the minimum unit for copying data is in pages. you can also move data in the retroactive play mode area to the normal mode area. copy sound data with the copy command. set up start_new and end_new addresses, method, and samp information so as to control a new phrase. 1 2 3 4 5 1 2 3 4 5 executing the copy command 123 5 page 4 end sound data start retroactive play mode area normal mode area address retroactive play mode area normal mode area copied sound data copy command sound data retroactive play mode area normal mode area copied sound data start_new end_new new phrase (ex. phrase=1) sound data address
peds87v1021-01 1 semiconductor MS87V1021 48/63 [defining the method, samp and address information] to let the lsi to recognize a copied sound data as a new phrase, you need to define address control information that includes the method, samp, start address and end address. such information should be entered to an address control data area for each phrase. for more details on address control data area, see "controlling addresses in normal play mode". to define address control information, follow the steps below: 1. defining the method and samp use the bytew command to write the data. (ex.) where; phrase 1, method = 01h, samp = 08h and start address for area1 = 00h (1) specifying the start address enter the dtrw command; 2nd byte: 00h, 3rd byte: 00h, 4th byte: 08h (2) writing the data enter the bytew command; 2nd byte: 18h ? writing the method and samp data (3) ending write mode enter the end command 2. defining the start address and end address use the adrwr command to define the data for each phrase. (ex.) where; phrase 1, stadr = 000800h and enadr = 010000h enter the adrwr command; 2nd byte: 01h, 3rd byte: 00h, 4th byte: 80h 5th byte: 00h, 6th byte: 01h, 7th byte: 00h, 8th byte: 00h [copying separated data] to copy two data that were separately recorded in two portions of a retroactive play mode area as shown below, issue the copy command twice, first for the former data and second for the latter data. end recorded data recorded data retroactive play mode area normal mode area the latter recorded data the former recorded data the former recorded data start the latter recorded data start_new end_new copy command new pharase retroactive play mode area normal mode area address
peds87v1021-01 1 semiconductor MS87V1021 49/63 memory allocation storing sound data to dram (in pages) the on-die 2-mbit dram consists of 2048 pages, 1024 bits for each page. the first 24-bit memory space of each page is allocated for storing adpcm intermediate data and the remaining 1000-bit space for storing adpcm (sound) data. for additional information on data structures of pages allocated for address control in normal mode, see ?controlling addresses of sound data in normal mode? later in this document. page 0 000h to 07fh page 1 080h to 0ffh page 2 100h to 17fh page 3 180h to 1ffh page 2042 3fd00 to 3fd7fh page 2043 3fd80 to 3fdffh page 2044 3fe00 to 3fe7fh page 2045 3fe80 to 3feffh page 2046 3ff00 to 3ff7fh page 2047 3ff80 to 3ffffh note: ?dram address? means the addresses used with the adrrd and adrwr commands, i.e. stadr[23:0] and enadr[23:0]. 24 bit 1000 bit 1024 bit adpcm intermediate data adpcm data dram address * pages on dram
peds87v1021-01 1 semiconductor MS87V1021 50/63 storing sound data to dram (in blocks) a block is a memory space unit that is equivalent to 1/256 of the entire dram capacity. the memory space for a block can be obtained by the following formula: 1 block = 2,097,152 bits/256 = 8,192 bits (equals to 8 pages) note: block address is a value for the start1/ start2 and end1/end2 when you specify a memory area using the area1 or area2 command. each block is assigned to a specific memory address. the following table shows block addresses and its corresponding memory addresses at the top of each block. for blocks not appearing in the table below, you can get the top address value of a given block by incrementing 400h for each single block. dram memory address at the top of blocks block address dram memory address 00h 000000h 01h 000400h 02h 000800h 04h 001000h 08h 002000h 10h 004000h 20h 008000h 40h 010000h 80h 020000h ffh 03fc00h page 1 (1024 bits) 1 block page 8 (1024 bits) 256 blocks block 2 block 256 block 1 00h 01h 02h ffh block address (note)
peds87v1021-01 1 semiconductor MS87V1021 51/63 you need to assign a separate memory space area for each playback mode. delayed play mode, retroactive play mode and normal mode must have their own memory space, when used in a single application. each mode cannot share any memory space with other modes. therefore, you need to define a proper memory area for each mode if you are required to use more than one mode in a single application. (1) when the entire dram memory space is used for a single play mode (2) when the dram memory space is divided into two areas (for normal and retroactive play mode in this example) (3) when the dram memory space is divided into three areas you can move, in pages, sound data recorded in retroactive play mode to the normal mode area by using the copy command. this enables you to control phrases recorded in retroactive play mode in normal mode. sound data recorded in delayed play mode cannot be moved to the retroactive play mode area or normal mode area. data in the normal mode area neither can be moved to the retroactive play mode area. [note 1 on selecting blocks for more than one mode] be sure to select blocks not overlapping with the area specified for other modes, when you select blocks for multiple modes. when you define an area for each mode, you can define only one area for a specific mode. so, as shown in the above three figure, you can define up to three areas for three modes. normal (or delayed play/retroactive play) mode only dram memory space normal mode area retroactive play mode area dram memory space normal mode area retroactive play mode area delayed play mode area dram memory space normal mode retroactive play mode normal mode area retroactive play mode area no overlapping allowed
peds87v1021-01 1 semiconductor MS87V1021 52/63 [note 2 on selecting blocks for more than one mode] as shown in the following example, you cannot select blocks across the end address of the dram when you define an area with the area1 or area2 command. therefore, the start1, 2 and end1, 2 values must always satisfy start1, 2 < end1, 2. [re-defining an area after mode switch] when you switch an operation mode from one to another, you should redefine the area by using the area2 command. (1) normal mode ? retroactive play mode ? normal mode (mode switched) (2) normal mode ? power down ? normal mode the values set with the area1 command in normal mode remain unchanged until reset signal is entered. normal mode normal mode start end area where start > end is not allowed dram memory space set up normal mode issuing the area1 and area2 commands set up repeat mode issuing the area2 commands set up normal mode issuing the area1 and area2 commands set up normal mode issuing the area1 and area2 commands if the mode remains unchanged before and after power down, mode settings remains unchanged.
peds87v1021-01 1 semiconductor MS87V1021 53/63 controlling addresses in retroactive play mode in retroactive play mode, four registers are defined within the internal record/play register. those are the record/play_start address (stadr), the record/play_end address (enadr), the sampling frequency (samp) and the method (method). use the adrrd command to read the stadr/enadr value, and the adrwr command to write the stadr/enadr value. in addition, you need to set up a sampling frequency and an adpcm algorithm (method) by using the rec or play command. the internal record/play registers [note on issuing the adrrd or adrwr command] in retroactive play mode, multiple phrasing is not allowed by its design. however, the recorded data is processed as ?phrase = 0? internally. therefore, be sure to set the second byte to ?00h? as you issue the adrrd or adrwr command. [note on issuing the stadr and enadr commands] sound data has adpcm intermediate data in each page. by the nature of adpcm, playback must start from the top address of a page, otherwise playback cannot be performed properly. therefore, when you define the stadr value with the adrwr command, be sure to set the lower 7-bit to ?0? (i.e. specifying a page?s top address). similarly, set the lower 7-bit to ?1? when you define the enadr. (a single page on the dram is 1024 bits.) for the details, see ?storing sound data to dram (in blocks)? and ?addressing with the adrrd and adrwr commands? sections. stadr (24 bits) enadr (24 bits) samp (4 bits) method (4 bits)
peds87v1021-01 1 semiconductor MS87V1021 54/63 controlling addresses in normal mode in normal mode, the address control data area and the sound data area are allocated within the blocks selected by using the area1 and area2 commands. the address control data area is for storing address control data for up to 255 phrases, while the sound data area is for storing adpcm intermediate data and adpcm data, as described in ?storing sound data to dram?, earlier in this document. 1 to 255 phrase value is available. phrase = 0 is unavailable in normal mode because it is used only in retroactive play mode. for further details on address control data for each phrase, see ?address control data for each phrase?, later in this document. page address dram specified page + 0 address control data (phrase 1 to 15) 0h to 7fh specified page + 1 address control data (phrase 16 to 31) 80h to ffh specified page + 2 address control data (phrase 32 to 47) 100h to 17fh specified page + 14 a ddress control data (phrase 224 to 239) 700h to 77fh specified page + 15 a ddress control data (phrase 240 to 255) 780h to 7ffh specified page + 16 sound data 800h to 87fh specified page + 17 sound data 880h to 8ffh specified page + 18 sound data 900h to 97fh sound data sound data sound data note: relative address means relative address value from the top address of the area defined by the area1 command. [notes on issuing the area command] as shown in the above figure, the first 2 blocks (16 pages) are assigned for storing address control data when you define an area with the area1 command. so, with area2 command, you need to select blocks not overlapping with such address control data area (with the area commands, selecting an area in blocks, i.e. 8-page). therefore, the value for the start2 of the area2 command must be larger than the start1 value + 16 pages. in other words, the start1, 2 and the end1, 2 must satisfy the following: start2 start1 + 02h, end2 end1 (all values within 00h to ffh range) start2 blocks specified with the area2 command start1 end2 end1 relative address within the area * blocks specified with the area1 command
peds87v1021-01 1 semiconductor MS87V1021 55/63 address control data for each phrase address control data for each phrase consists of 8 bytes (64 bits), as shown in the following table. address bit phrase address (note) 7654321 0 00_0000 00_0001 00h 00_0002 00_0003 00_0004 00_0005 00_0006 00_0007 reserved area 00_0008 method samp 00_0009 upper start address 01h 00_000a middle start address 00_000b lower start address 00_000c upper end address 00_000d middle end address 00_000e lower end address 00_000f reserved area 00_07f8 method samp 00_07f9 upper start address 0ffh 00_07fa middle start address 00_07fb lower start address 00_07fc upper end address 00_07fd middle end address 00_07fe lower end address 00_07ff reserved area (note) each address means a relative address starting from the top address of area 1.
peds87v1021-01 1 semiconductor MS87V1021 56/63 addressing with the adrrd and adrwr commands in retroactive play mode and normal mode, you can control addresses for recording and playing by using the adrrd and adrwr commands. [the adrrd command] in retroactive play mode and normal mode, the adrrd command enables you to read the dram?s record_start address and the record_end address. these addresses represent specific address locations on the on-die dram, as described in ?storing sound data to dram? section earlier in this document. you can determine the address to be played based on those address information. [the adrwr command] in retroactive play mode and normal mode, the adrwr command enables you to specify the dram address at which the lsi starts to play. you can determine the starting and ending addresses according to address information obtained by using the adrrd command. when you define the play_start address, you need to specify the top address of the starting page. by the nature of adpcm, playback must start from the top address of a page, otherwise playback cannot be performed properly. similarly, you should specify the last address of the ending page when you define the end_play address. addressing with the adrwr command stadr = 00000h enadr = 001ffh (the enadr must be the last address of the ending page) [notes on addressing] the play_start address cannot be larger than the play_end address. therefore, the addressing should be stadr eadr. the record_start address 00000h sound data end recording page sound data sound data sound data the play_start address 00000h sound data 001ffh the end_play address page sound data sound data sound data playback after recording
peds87v1021-01 1 semiconductor MS87V1021 57/63 memory allocation of mask rom the following figure illustrates the on-chip mask rom memory allocation. rom address mask rom 0000h to 0007h phrase 0 address data 0008h to 000fh phrase 1 address data 0010h to 0017h 07f0h to 07f7h phrase 254 address data 07f8h to 07ffh phrase 255 address data 0800h to sound data area to ffffh sound data area the format of address control data for each phrase is identical to the one for the dram. rom address means the address values specified with the stadr and enadr, used for controlling mask rom phrases. remember that these addresses are different from physical memory addresses used with the dtrw command to make an access to the mask rom. (see ?memory map? section on the following page)
peds87v1021-01 1 semiconductor MS87V1021 58/63 memory map the figure below shows the memory map of dram and mask rom. addresses shown in this figure represent physical addresses of each memory, which you can use with the dtrw command. 2 mbit dram 512-kbit mask rom 000000h 03ffffh 800000h 80ffffh unused 256k-word x 8 bits 64k-word x 8 bits
peds87v1021-01 1 semiconductor MS87V1021 59/63 recording time length this section describes recording time length of the blocks selected with the area1 and area2 commands. a block is a memory space equal to 1/256 of 2-mbit on-chip dram. the following formula can be used to obtain the memory space per block: block = 2,097,152 bits/256 = 8,192 bits (equal to 8 pages) a page consists of 1024 bits, out of which a 24-bit space is allocated for storing adpcm intermediate data. therefore, actual usable area for storing sound data is as follows: actual usable area per block : 8,192 bits - 24 bits x 8 pages = 8,000 bits you can obtain recording time per block with the following formula: where; sampling frequency fsam = 8 khz recording time per block: 8,000 bits / (4 bits* x 8 khz) = approx. 0.25 sec note: ?4 bits? represents 4-bit adpcm. the following table summarizes recording time length at each sampling frequency. sampling frequency and recording time sampling frequency recording time per block recording time for entire 2 mbit 4.0 khz approx. 0.50 sec approx. 128 sec 5.3 khz approx. 0.38 sec approx. 97 sec 6.4 khz approx. 0.31 sec approx. 80 sec 8.0 khz approx. 0.25 sec approx. 64 sec 10.6 khz approx. 0.18 sec approx. 48 sec [recording time in delayed play mode and retroactive play mode] in delayed play mode and retroactive play mode, the maximum recording time depends on the number of blocks selected with the area2 command as all the blocks selected are allocated for storing sound data.
peds87v1021-01 1 semiconductor MS87V1021 60/63 [recording time in normal mode] in normal mode, the area selected with the area2 command is assigned for storing sound data, therefore the maximum recording time depends on the number of blocks included in the area. note that the first two blocks of the area selected with the area1 command is automatically allocated to the address control data area in normal mode. so, the maximum number of blocks usable for storing sound data (i.e. the area that can be selected with the area2 command) is the number of blocks selected with the area1 command minus 2 blocks. for example, blocks selected with the area1 command: start1 = 00h; end1 = 0fh (16 blocks) blocks selectable with the area2 command: start2 = 02h; end2 = 0fh (14 blocks) (area for storing sound data) where: sampling frequency fsam = 8 khz; maximum recording time: about 3.5 sec
peds87v1021-01 1 semiconductor MS87V1021 61/63 delay time in delayed play mode and retroactive play mode in delayed play mode and retroactive play mode, you should define the delay time, that is a time lag between recording and its playback in the former or the time going back to the past in the latter. use 16-bit unsigned integer value dly[15:8], dly [7:0] to set up the delay time. the following section summarizes the relationship between the dly value you set and the actual delay time obtained in the operation. delay time = dly value x 250/sampling frequency for example, with sampling frequency at 8 khz, if you set the dly value to 0100h, the actual delay time can be obtained by the following formula: delay time = 0100h x 250/8 khz = 8 sec [restriction on setting the dly value in delayed play mode and retroactive play mode] there is a certain limitation on setting the dly value in delayed play mode and retroactive play mode. you cannot set up the delay time that is equal or longer than the maximum recording time for the current mode. the lsi may not operate properly when you set up the delay time as shown below: sound data area selected with the area2 command: 00h to ffh (239 blocks, about 59.75 sec at fsam = 8 khz) dly value: 0778h delay time: about 59.75 sec therefore, the dly value and the number of selected blocks must satisfy the following formula: dly value < 8 x number of selected blocks for the above example, the maximum delay time that satisfies the formula is as follows: dly value: 0777h < 8 x 239 blocks delay time: about 59.71 sec
peds87v1021-01 1 semiconductor MS87V1021 62/63 package dimensions notes for mounting the surface mount type package the surface mount type packages are very susceptible to heat in reflow mounting and humidity absorbed in storage. therefore, before you perform reflow mounting, contact oki?s responsible sales person for the product name, package name, pin number, package code and desired mounting conditions (reflow method, temperature and times). tsop(1)32-p-0814-0.50-1k mirror finish package material epoxy resin lead frame material 42 alloy pin treatment solder plating ( 5m) package weight (g) 0.27 typ. 5 rev. no./last revised 3/dec. 10, 1996 (unit: mm)
peds87v1021-01 1 semiconductor MS87V1021 63/63 notice 1. the information contained herein can change without notice owing to product and/or technical improvements. before using the product, please make sure that the information being referred to is up-to-date. 2. the outline of action and examples for application circuits described herein have been chosen as an explanation for the standard action and performance of the product. when planning to use the product, please ensure that the external conditions are reflected in the actual circuit, assembly, and program designs. 3. when designing your product, please use our product below the specified maximum ratings and within the specified operating ranges including, but not limited to, operating voltage, power dissipation, and operating temperature. 4. oki assumes no responsibility or liability whatsoever for any failure or unusual or unexpected operation resulting from misuse, neglect, improper installation, repair, alteration or accident, improper handling, or unusual physical or electrical stress including, but not limited to, exposure to parameters beyond the specified maximum ratings or operation outside the specified operating range. 5. neither indemnity against nor license of a third party?s industrial and intellectual property right, etc. is granted by us in connection with the use of the product and/or the information and drawings contained herein. no responsibility is assumed by us for any infringement of a third party?s right which may result from the use thereof. 6. the products listed in this document are intended for use in general electronics equipment for commercial applications (e.g., office automation, communication equipment, measurement equipment, consumer electronics, etc.). these products are not authorized for use in any system or application that requires special or enhanced quality and reliability characteristics nor in any system or application where the failure of such system or application may result in the loss or damage of property, or death or injury to humans. such applications include, but are not limited to, traffic and automotive equipment, safety devices, aerospace equipment, nuclear power control, medical equipment, and life-support systems. 7. certain products in this document may need government approval before they can be exported to particular countries. the purchaser assumes the responsibility of determining the legality of export of these products and will take appropriate and necessary steps at their own expense for these. 8. no part of the contents contained herein may be reprinted or reproduced without our prior permission. copyright 2000 oki electric industry co., ltd.


▲Up To Search▲   

 
Price & Availability of MS87V1021

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X